home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
ttga10.zip
/
HCTARGA.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-01-09
|
782b
|
34 lines
/*
* HCTarga.H
*
* Copyright 1990,1991 Synergrafix Consulting
* All Rights Reserved.
*
* November 19,1991
*
*/
#ifndef _HC_TGAINCLUDE
#define _HC_TGAINCLUDE
#include "hicolor.h"
#define HCTGACANTOPEN -1
#define HCTGANOMEM -2
#define HCTGANOTSUPPORTED -3
#define HCTGACANTREAD -4
#define HCTGACANTWRITE -5
#define MAXTGAXWIDTH 1280
#define MAXTGAXHEIGHT 2048
#define MAXTCOMMENT 256
extern unsigned char tcomment[MAXTCOMMENT];
extern unsigned char tcommentsize;
int hctgaview(char *fname,int x,int y,int x1,int y1,int dither);
int hctgasave(char *fname,int x,int y,int x1,int y1,int compressed,unsigned char csize,unsigned char *comm);
int hctgasize(char *fname,int *w,int *h,unsigned char *csize,unsigned char *comm);
#endif